﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace Moose.Controls.UC
{
    public partial class CheckTextBox : UserControl
    {
        public event KeyEventHandler Event_KeyDown;

        public CheckTextBox()
        {
            InitializeComponent();
        }


        public bool ShowCheck
        {
            get { return cbCheck.Visible; }
            set
            {
                cbCheck.Visible = value;
                UpdateControlLocation();
            }
        }

        public bool ShowTitle
        {
            get { return labTitle.Visible; }
            set
            {
                labTitle.Visible = value;
                UpdateControlLocation();
            }
        }

        public bool ShowUnit
        {
            get { return labUnit.Visible; }
            set
            {
                labUnit.Visible = value;
                UpdateControlLocation();
            }
        }

        private void UpdateControlLocation()
        {

        }
    }
}
